<%--
  Created by IntelliJ IDEA.
  User: xjy
  Date: 2022/3/16
  Time: 17:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <meta charset="UTF-8"/>
    <title>后台登录</title>
    <script type="text/javascript" src="${pageContext.request.contextPath}/js/jquery-3.6.0.js"></script>

    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/css/login.css"/>


</head>
<body>
<div class="admin_login_wrap">
    <div class="adming_login_border">

        <div class="admin_input">
            <div class="admin_login_form">
                <div class="login_register">
                    <a href="login.html">登录</a>|<a href="${pageContext.request.contextPath}/user/toAddPage">注册</a>
                </div>
                <form action="${pageContext.request.contextPath}/user/login" method="post">
                    <span style="color: red">${loginError}</span>
                        <label class="control-label" for="username">用户名</label>
                        <input id="username" class="login_user"  name="username" type="text"  required/>
                        <label class="control-label" for="password">密码</label>
                        <input id="password" class="login_password" name="password" type="password" required/>
                       <button type="submit" class="login_btn">登陆</button>

                </form>
                <p class="account">忘记密码？<a href="#signup">找回</a></p>
            </div>

            <div class="admin_login_right">
                <div class="left_grid_info">
                    <img src="${pageContext.request.contextPath}/img/back.png" class="img-fluid">
                </div>
            </div>

        </div>
    </div>
</div>

</body>
</html>
